package com.wtzz.police.base.repository;

import com.wtzz.police.base.entity.User;
import com.wtzz.police.base.repository.base.BaseRepository;

import java.util.Optional;

/**
 * 用户Repository
 */
public interface UserRepository extends BaseRepository<User, String> {

    Optional<User> findByUsername(String username);
}
